package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "report")
public class Report implements Serializable {

    private ObjectId id;  //报告id
    private Long userId; //用户id
    private String pageId; //问卷id
    private List<String> answer; //答案
    private Long date; //日期
    private String analysisId;
}